package de.tum.beilmaier.im.shared.model;

import com.google.gwt.user.client.rpc.IsSerializable;

public class InstantMessage implements IsSerializable{

	private User sendUser = null;
	private String message = null;
	private ChatRoom chatRoom = null;
	
	public User getSendUser() {
		return sendUser;
	}

	public void setSendUser(User sendUser) {
		this.sendUser = sendUser;
	}

	public String getMessage() {
		return message;
	}

	public void setMessage(String message) {
		this.message = message;
	}

	public ChatRoom getChatRoom() {
		return chatRoom;
	}

	public void setChatRoom(ChatRoom chatRoom) {
		this.chatRoom = chatRoom;
	}

	public InstantMessage()
	{
		
	}
	
	public InstantMessage(User sendUser, String message, ChatRoom chatRoom)
	{
		this.sendUser = sendUser;
		this.message = message;
		this.chatRoom = chatRoom;
	}

}
